home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
internet
/
other
/
ka9q
/
nhclb120.zoo
/
td.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1992-06-21
|
307 b
|
19 lines
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <stdio.h>
main(argc,argv)
int argc; char *argv[];
{
DIR *dirp;
struct dirent *dp;
dirp = opendir( "." );
while ( (dp = readdir( dirp )) != NULL )
{
printf("%s ", dp->d_name);
}
closedir( dirp );
}